<?php

namespace App\Models\MiaoSha;

use App\Models\BaseModel;

/**
 * App\Models\MiaoSha\GoodsModel
 *
 * @property int $id
 * @property string|null $goods_name 商品名称
 * @property string|null $goods_title 商品标题
 * @property int|null $inventory 库存
 * @property string|null $price 价格
 * @property string|null $preferential_price 优惠价格
 * @property int|null $add_time 入库时间
 * @property int|null $update_time 修改时间
 * @property int|null $deleted
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel whereAddTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel whereDeleted($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel whereGoodsName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel whereGoodsTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel whereInventory($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel wherePreferentialPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel whereUpdateTime($value)
 * @mixin \Eloquent
 * @property int|null $type 商品状态
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsModel whereType($value)
 */
class GoodsModel extends BaseModel
{
    protected $connection = "mysql";
    protected $table = "m_goods";
    public $timestamps;
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
    ];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [
        'deleted'
    ];
}
